Skip to content

Allow disabling AuthenticationProvider extension for workspace if not used by Settings Sync#320415

Merged
sandy081 merged 9 commits into
microsoft:mainfrom
gjsjohnmurray:fix-269367v2
Jun 26, 2026
Merged

Allow disabling AuthenticationProvider extension for workspace if not used by Settings Sync#320415
sandy081 merged 9 commits into
microsoft:mainfrom
gjsjohnmurray:fix-269367v2

Conversation

@gjsjohnmurray

Copy link
Copy Markdown
Contributor

This PR fixes #269367

Copilot AI review requested due to automatic review settings June 8, 2026 14:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adjusts extension enablement validation and messaging so Settings Sync dependency on an authentication provider extension is handled more precisely (including in workspace scope).

Changes:

  • Fixes/clarifies the error message when Settings Sync depends on an authentication provider extension.
  • Narrows the “cannot change enablement in workspace” restriction to only block the auth provider extension currently used by Settings Sync.

@gjsjohnmurray gjsjohnmurray left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/assign @sandy081

@gjsjohnmurray

Copy link
Copy Markdown
Contributor Author

@sandy081 please consider adding this to the 1.126 milestone.

@sandy081 sandy081 added this to the 1.127.0 milestone Jun 23, 2026
@sandy081

Copy link
Copy Markdown
Member

Thanks @gjsjohnmurray! Since the 1.126 endgame is already underway, I've added this to 1.127.0 so it gets proper review and bake time rather than rushing it in late. Appreciate the contribution!

@gjsjohnmurray

Copy link
Copy Markdown
Contributor Author

@sandy081 thanks. As soon as it's merged and showing up in Insiders I'll be happy to verify.

@sandy081 sandy081 self-requested a review June 26, 2026 08:59
@sandy081 sandy081 enabled auto-merge (squash) June 26, 2026 09:11
sandy081
sandy081 previously approved these changes Jun 26, 2026
@sandy081

Copy link
Copy Markdown
Member

@gjsjohnmurray I appended following change to the commit - also check for default account provider. I am really sorry that it took long for me to take this in.

@gjsjohnmurray

Copy link
Copy Markdown
Contributor Author

@sandy081 thanks for getting to it. Looks like a CI failure needs fixing though.

@dmitrivMS dmitrivMS left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please address CI failures:
[09:37:58] src/vs/workbench/services/extensionManagement/test/browser/extensionEnablementService.test.ts(84,3): error TS2554: Expected 22 arguments, but got 21.

@gjsjohnmurray

gjsjohnmurray commented Jun 26, 2026

Copy link
Copy Markdown
Contributor Author

I'm looking at resolving the CI failure now

@sandy081

Copy link
Copy Markdown
Member

@gjsjohnmurray Fixed

@sandy081 sandy081 closed this Jun 26, 2026
auto-merge was automatically disabled June 26, 2026 11:09

Pull request was closed

@sandy081 sandy081 reopened this Jun 26, 2026
@sandy081 sandy081 enabled auto-merge (squash) June 26, 2026 11:19
@sandy081 sandy081 merged commit 72a5111 into microsoft:main Jun 26, 2026
54 checks passed
@gjsjohnmurray gjsjohnmurray deleted the fix-269367v2 branch June 26, 2026 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not permitted to disable an extension at workspace level if it contributes an authentication provider

4 participants